# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=accerciser
pkgver=3.36.3
pkgrel=0
pkgdesc="Interactive Python accessibility explorer"
url="https://wiki.gnome.org/Apps/Accerciser"
arch="noarch !s390x !mips !mips64" #librsvg
license="BSD-3-Clause"
depends="libwnck3 py3-gobject3 py3-atspi gtk+3.0 librsvg py3-xlib ipython"
makedepends="gtk+3.0-dev py3-gobject3-dev glib-dev at-spi2-core-dev itstool"
options="!check" # no tests
subpackages="$pkgname-lang $pkgname-doc"
source="https://download.gnome.org/sources/accerciser/${pkgver%.*}/accerciser-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="983f514255a0e477e9ccff2d3af4db56b5c17ec99be524572463aa263a484d578c6702dfd331aa0f16140aae84348d9e9526935abaef127200684d597e4448e3  accerciser-3.36.3.tar.xz"
